import request from '@/utils/request'
/**
 * 分页列表
 * @param pageNum
 * @param pageSize
 */
const getDailySales = function(date) {
  return request({
    url: '/sysOrder/getDailySales',
    method: 'get',
    params: {
      date: date
    }
  })
}

const getMonthlySales = function(date) {
  return request({
    url: '/sysOrder/getMonthlySales',
    method: 'get',
    params: {
      date: date
    }
  })
}

export const sheetApi = {
  getDailySales: getDailySales,
  getMonthlySales: getMonthlySales
}
